4975d30714abbe40d791ab0c17089c8c4cf71269,router/java/src/net/i2p/router/tunnel/pool/ExploratoryPeerSelector.java,ExploratoryPeerSelector,selectPeers,#RouterContext#TunnelPoolSettings#,20
Before Change
if (exploreHighCap)
ctx.profileOrganizer().selectHighCapacityPeers(length, exclude, matches);
else
ctx.profileOrganizer().selectNotFailingPeers(length, exclude, matches, false);
if (l.shouldLog(Log.DEBUG))
l.debug("profileOrganizer.selectNotFailing(" + length + ") found " + matches);
After Change
if (exploreHighCap)
ctx.profileOrganizer().selectHighCapacityPeers(length, exclude, matches);
else if (ctx.commSystem().haveOutboundCapacity())
ctx.profileOrganizer().selectNotFailingPeers(length, exclude, matches, false);
else // use only connected peers so we don't make more connections
ctx.profileOrganizer().selectActiveNotFailingPeers(length, exclude, matches);